package com.ruoyi.system.service;

import com.ruoyi.system.domain.BizProductSeries;
import com.ruoyi.system.domain.vo.BizProductSeriesRequest;
import com.ruoyi.system.domain.vo.BizProductSeriesResponse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BizProductSeriesService {

    List<BizProductSeriesResponse> selectProductSeriesList(BizProductSeriesRequest productSeriesRequest);

    BizProductSeriesResponse selectProductSeriesById(Long id);

    int insertProductSeries(BizProductSeries productSeries);

    int updateProductSeries(BizProductSeries productSeries);

    int deleteProductSeriesById(Long id);

    int checkProductSeriesNameUnique(@Param("name") String name, @Param("id") Long id);
}
